package com.tongji.diy.event.furnitureOptimizationEvent
{
	import com.tongji.diy.model.furniturePlacementOptimization.assembleComplement.FurnitureBase;
	import com.tongji.diy.model.furniturePlacementOptimization.assembleComplement.NearBase;
	
	import flash.events.Event;
	import flash.geom.Vector3D;
	
	public class IterationTestEvent extends Event
	{
		public static const TEST:String = "test";
		public var nearbylist:Vector.<NearBase> = new Vector.<NearBase>;
		public var recorder:Vector.<Vector3D> = new Vector.<Vector3D>;
		public var facalList:Vector.<FurnitureBase> = new Vector.<FurnitureBase>;
		public var beddingList:Vector.<FurnitureBase>;
		public var seatList:Vector.<FurnitureBase>;
		public function IterationTestEvent(type:String, nearbylist:Vector.<NearBase>, recorder:Vector.<Vector3D>,facalList:Vector.<FurnitureBase>, beddinglist:Vector.<FurnitureBase>,seatList:Vector.<FurnitureBase>,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.nearbylist = nearbylist;
			this.facalList = facalList;
			this.recorder = recorder;
			this.beddingList = beddinglist;
			this.seatList = seatList;
		}
		override public function clone():Event
		{
			return new IterationTestEvent(type, nearbylist, recorder, facalList,beddingList,seatList, bubbles, cancelable);
		}
	}
}